package com.cet.designpatterns.adapter.objectadapter;

/**
 * @program: algorithm
 * @description:
 * @author: 陈恩涛
 * @create: 2021-09-07 22:43
 **/
public class Client {
    public static void main(String[] args) {
        System.out.println("对象配器模式");
        Phone phone = new Phone();
        phone.charging(new VoltageAdapter());
    }
}
